<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>增加年龄</title>
</head>

<body>
  <script>
    //获取年龄
    let age = +prompt('请输入你的年龄')
    //增加的年龄
    let age1 = +prompt("增加多少岁")
    //增加后的年龄
    let age2 = age + age1
    console.log(`据我估计，${age1}年后，你可能${age2}岁了`)
  </script>
</body>

</html>